import Vue from 'vue'
import App from './App.vue'
import htmlToPdf from './plugin/htmlToPdf'
Vue.use(htmlToPdf);
// import Vuetree from 'vue-simple-tree'
// Vue.use(Vuetree)
Vue.config.productionTip = false

window.axios = require('axios');
window.Vue = require('vue').default;

require('./init/init.js');
require('./init/component.js');


import store from './store/index.js'
import router from './routes.js';
import VueAMap from 'vue-amap'
VueAMap.initAMapApiLoader({
    key: '77015ad31c76237ddc7de735afa2a230',
    plugin: [
        'AMap.Autocomplete',
        'AMap.PlaceSearch',
        'AMap.Scale',
        'AMap.MarkerClusterer',
        'AMap.OverView',
        'AMap.ToolBar',
        'AMap.MapType',
        'AMap.PolyEditor',
        'AMap.CircleEditor',
        'AMap.Geolocation'],
    uiVersion: '1.0' // 版本号
});
Vue.use(VueAMap);
import './reset.css';
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app');

